<?php
/**
 * golangshop商城系统 - 团队十年电商经验汇集巨献!
 * =========================================================
 * Copy right 2019-2029 杭州瑞璞玉数字科技有限公司, 保留所有权利。
 * ----------------------------------------------
 * 官方网址: https://www.golangshop.com
 * =========================================================
 */

namespace addon\weapp\event;


use addon\weapp\model\Weapp;

/**
 * 订单收货，小程序确认收货提醒
 */
class OrderTakeDelivery
{

    public function handle($data)
    {
        $weapp_model = new Weapp($data[ 'site_id' ]);
        $res = $weapp_model->orderShippingNotifyConfirmReceive([
            'order_id' => $data[ 'order_id' ],
        ]);
        return $res;
    }
}